#ifndef _UNIQUE_ID_H_
#define _UNIQUE_ID_H_

#include <sys/types.h>
#include <time.h>

class UniqueID
{
public:
	time_t Time;
	int SerialNumber;
	UniqueID();
	static time_t GlobalTime;
	static int GlobalSerialNumber;

public:
	bool operator == (UniqueID&)const;
	bool operator != (UniqueID&)const;

	void GenerateID();
};

#endif